package com.sgcc.fj.pmos.common.base;

import android.text.TextUtils;

public class ChartMakerBean {

    private int color;
    private String key;
    private String value;

    public ChartMakerBean(int color, String value) {
        this.color = color;
        this.value = value;
    }

    public ChartMakerBean(int color, String key, String value) {
        this.color = color;
        this.key = key;
        this.value = value;
    }

    public int getColor() {
        return color;
    }

    public String getKey() {
        return TextUtils.isEmpty(key) ? "" : key;
    }

    public String getValue() {
        return value;
    }
}
